package com.julewa.loading;

import com.julewa.Client;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.PreResultListener;

public class BeforeResultListener implements PreResultListener{
	
	Client client = null;
	
	@Override
	public void beforeResult(ActionInvocation ai, String result) {
		ai.getStack().set("Client", client);
		ai.getStack().set("@", client.getUriRoot());
	}

}
